package com.feng.util;

import org.apache.log4j.Logger;

public class LogUtil {
	private static Logger logger = Logger.getLogger(LogUtil.class);
	public static void main(String args[]){
		// 使用绝对路径初始化log4j。
//		PropertyConfigurator.configure("D:/MY DOC/Workspaces/MyEclipse 7.0/lps_fus/WebRoot/WEB-INF/log4j.properties");
		logger.debug("test A asdf  .!");
		logger.info("test");logger.info("test");
		logger.warn("Testst");
	}
}
